<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

<h:body>
	<h2>this is start.xhtml</h2>
	<h:form>
		<h:commandButton action="payment" value="Payment(faces-config.xml)" />
		<br />
		<h:commandButton action="#{paymentController.goPaymentPage}" value="Payment(PageController.java)" />
	</h:form>
	
	
	<h2>JSF "From-Action" Navigation Rule Example</h2>
	<h:form>
		<h:commandButton action="#{pageController.processPage1}" value="Page1" />
		<h:commandButton action="#{pageController.processPage2}" value="Page2" />
	</h:form>
	
	<h2>JSF : Page Forward Vs Page Redirect</h2>
	
	
</h:body>
</html>